home *** CD-ROM | disk | FTP | other *** search
/ Products & Services for NeXT / Products & Services for NeXT.iso / AlembicDemo.app / ScriptWriter / ScriptGroups / Tutorial Script #1.scrgrp (.txt) next >
NeXT TypedStream Data  |  1993-07-27  |  27KB  |  414 lines

  1. typedstream
  2. ScriptGroup
  3. Object
  4. Window
  5.     Responder
  6.     @@ifss*@s
  7. ScrollView
  8. ClipView
  9. ScriptGroupMatrix
  10. SuperMatrix
  11. Matrix
  12. Control
  13. @:@iiii
  14. ButtonCell
  15. ActionCell
  16. Blank
  17.     Helvetica
  18. NXImage
  19. UnixIcon
  20. Example Script #1
  21. singleClick:
  22. ff@@#::s
  23. Scroller
  24. _doScroller:
  25. @@@ffs
  26. Button
  27. Operations
  28.     PopUpList
  29. Panel
  30. MenuCell
  31.     Insert...
  32. menuChoice:
  33.     Remove...
  34. Edit...
  35. Edit Title...
  36. Set Icon...
  37. Miniaturize...
  38. Dump...
  39. MenuItem
  40. popUp:
  41. NXpulldown
  42. NXpulldownH
  43.     TextField
  44. TextFieldCell
  45. Helvetica-Bold
  46. Tutorial Script #1
  47. Script
  48. NXSplitView
  49. ScriptView
  50. StickyView
  51. ScriptTextView
  52. ciifffcfffs
  53. [170c]{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  54. \margl40
  55. \margr40
  56. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 
  57. NXCursor
  58. NXibeam
  59. UnixIcon.tiff
  60. VariableReference
  61. ${New Reference}
  62. A C library file
  63. %Any file or folder with any extension
  64. $A file containing Adobe Font Metrics
  65. )A directory containing an executable file
  66. )A file containing source code for the DSP
  67. -A file containing an awk script (General use)
  68. &A file containing an Adobe Bitmap font
  69. A FrameMaker file
  70. A file containing C source code
  71. )A file containing Common Lisp source code
  72. 0A file containing a C shell script (General use)
  73.  A Draw (NeXT-provided Demo) file
  74. #A file with binary code for the DSP
  75. &A TeX file (device independent format)
  76. (A file containing Emacs Lisp source code
  77. "An Emacs Lisp compiled format file
  78. .A file containing Encapsulated PostScript code
  79. %A file containing Fortran source code
  80. #A StatLab (NeXT-provided Demo) file
  81. frame
  82. framemif
  83. A C header file
  84. iconheader
  85. AAn Interface Builder file (header information for __ICON segment)
  86. "A DSP simulator file (General use)
  87. /A file containing lex source code (General use)
  88. /A file with relocatable object code for the DSP
  89. .A program that can be loaded to run on the DSP
  90. )A file with the listing for a DSP program
  91. ?A file containing Objective-C source code or a Mathematica file
  92. &A text file for a Mathematica notebook
  93. makefile
  94. A make file (General use)
  95. 6A file containing a load map for the DSP (General use)
  96. ?A file containing binary information for a Mathematica notebook
  97. A file containing mail messages
  98. PA file containing nroff and troff codes using the me macro package (General use)
  99. A TeX file (Metafont source)
  100. A file with binary MIDI data
  101. $A Molecule (NeXT-provided Demo) file
  102. =A file containing a msgwrap declaration (for msgwrap utility)
  103. %A file containing nroff (General use)
  104. A Ray (NeXT-provided Demo) file
  105. -An archive file produced by Interface Builder
  106. Any file with no extension
  107. 1A file containing binary, relocatable object code
  108. =An extension marking old files, no specific app (General use)
  109. $A file containing Pascal source code
  110. !A file containing PostScript code
  111. 5A file containing declarations for the pswrap utility
  112. ;A file with pswrap declarations and Objective-C source code
  113. 9A file with source code for the Ratfor variety of Fortran
  114.  A file in Rich Text Format (RTF)
  115. =A file containing assembly source code for the main processor
  116. score
  117. &A music file in the ScoreFile language
  118. ,A file containing a sed script (General use)
  119. .A file containing a shell script (General use)
  120. A sound file
  121. A TeX file (style definitions)
  122. 6A file containing a assembly source code (General use)
  123. A TeX file (TeX source file)
  124. A file containing a TeX font
  125. &A file in Tag Image File Format (TIFF)
  126. )A TopologyLab (a NeXT-provided Demo) file
  127. )A file created via uuencode (General use)
  128. "A TeX file (meta-level TeX source)
  129. A file in WriteNow format
  130. wndict
  131. A WriteNow dictionary
  132. +A file containing yacc source (General use)
  133. )A file created via compress (General use)
  134.  NeXT plain ascii pasteboard typex
  135. ItemImageDragView
  136. ImageDragView
  137. DragView
  138. NXBitmapImageRep
  139. NXImageRep
  140. iisssss00
  141. [4608c]U_U_U_U_eoU_T_U_eoU_UoU_d_U_eoU_eoU_doUoT_U_U_U_UoE_UoU_e_U_eoU_dOeOuOe?t?e?e_UOeoU_U_VOUO
  142. d/T_w
  143. OuOtOeO
  144. u_f_v
  145. _vOuOe?
  146. OeOu_vo
  147. _vOtOuOt?uO
  148. ou_eOu_eOu_eOu_v_u_vO
  149. UOS?wov
  150. e?tOeOtOeOtOuOu_uO
  151. eOeOdOeOdOeOuOeOuouOtOvO
  152. 2/uof
  153. T/d?d?t_dOtOu?t?uO
  154. B/S/2?w
  155. S/T?dOdOdOe?dOeOuOuO
  156. _v_B/
  157. T?c?d?cOdOtOuOtOuO
  158. oB?wov
  159. dOT?d?T?dOeOuOeO
  160. T/S?T?c?T?dOeOtOuO
  161. d/uOvO
  162. B/vov
  163. S?C?SOe?dOT?d_eOu_u_u_
  164. oe?uO
  165. T/B/T?R?T?c?T?d?T/t_uOu_eOd?2
  166. tOu_tO
  167. oB?vov
  168. uOT?S?T?SOT?dOU?d?eOu_T?B/2
  169. _S?T?B?SOS/T/S/T?cOB
  170. R/S/d?e?
  171. T/S?T_SOT?S?eOB/B/SOeOdOf?
  172. !/3O2Of
  173. R?S?S?C
  174. SO2/2
  175. T/cOdOdO
  176. _uOvO
  177. 2?DOCOfo
  178. eOS?C/B/2
  179. S?U?T?e_uov_u_vO
  180. 3?#?D_Wofo
  181. S/c?v_
  182. d?c?T?c?uO
  183. !/3?2?3?T_DOf
  184. S?T?S?2
  185. S?T?S?T?dOuOuOvO
  186. /3?3?2?4OD_Voe
  187. S/S?C/R/S/S?d?dOuOtOuOtOuOu_vOu_
  188. !/3?2?3?CODOv
  189. S?T?S?T?dOeOdOeOu_uOu_vOuOv_u_v_
  190. 3?#?"?E_D_Vof
  191. T?c?d?tOd?c?eOtOeOtOuOu_eOdOvo2/
  192. 3?2?3?C_D_v
  193. foeofo
  194. dOT?tOT?dOeOdOeOdOu_u_eOuo2
  195. "/3O3?2?DOD_f
  196. VoeoVof
  197. S?S?S/c?T?tOeOdOuOd_eOB?
  198. !/3?2?"?D_DOv
  199. Uofoe
  200. S?T?dOT?dOeOdOeOu_"/
  201. CO#?3OE_D_f
  202. T?S?dOdOeOdOu_2/
  203. !/3?2O3?S_U_f
  204. dOTOdOT?TO2
  205. 2?3?2?4OTof
  206. TOd_UOB/
  207. /#/CO3?T_EOv
  208. Voeofoe
  209. foeoUof
  210. VoTofo
  211. 3?#?#?5OD_g
  212. VoUoVoUoVoUo
  213. EOU_V_U_V_T_U_e_UOU_U_U_V_UoE_UoE_UoVoUoV_T_U_UoU_UoU_UoU_UoU_UoE_UoU_UoU_UoE_UoE_UoV_eo
  214. Command
  215. [576c]UUUUUUUUUUU@
  216. UaYZY
  217. UUaefZ
  218. UUUqYf
  219. UUUqYfje
  220. uUUUqVe
  221. UUrYj
  222. uUUUsU
  223. uTUUFYPU
  224. tUUU1U
  225. uEUUqPUX
  226. QQpUUh
  227. UaVfX
  228. TT1UY
  229. dDEAaYf`_
  230. aUUPW
  231. XDAUae
  232. EUUUa
  233. UUUUUUUUUUX
  234. NXCachedImageRep
  235. iiiiii00
  236. U_U_U_U_eoU_T_U_eoU_UoU_d_U_eoU_eoU_doUoT_U_U_U_UoE_UoU_e_U_eoU_dOeOuOe?t?e?e_UOeoU_U_VOUO
  237. d/T_w
  238. OuOtOeO
  239. u_f_v
  240. _vOuOe?
  241. OeOu_vo
  242. _vOtOuOt?uO
  243. ou_eOu_eOu_eOu_v_u_vO
  244. UOS?wov
  245. e?tOeOtOeOtOuOu_uO
  246. eOeOdOeOdOeOuOeOuouOtOvO
  247. 2/uof
  248. T/d?d?t_dOtOu?t?uO
  249. B/S/2?w
  250. S/T?dOdOdOe?dOeOuOuO
  251. _v_B/
  252. T?c?d?cOdOtOuOtOuO
  253. oB?wov
  254. dOT?d?T?dOeOuOeO
  255. T/S?T?c?T?dOeOtOuO
  256. d/uOvO
  257. B/vov
  258. S?C?SOe?dOT?d_eOu_u_u_
  259. oe?uO
  260. T/B/T?R?T?c?T?d?T/t_uOu_eOd?2
  261. tOu_tO
  262. oB?vov
  263. uOT?S?T?SOT?dOU?d?eOu_T?B/2
  264. _S?T?B?SOS/T/S/T?cOB
  265. R/S/d?e?
  266. T/S?T_SOT?S?eOB/B/SOeOdOf?
  267. !/3O2Of
  268. R?S?S?C
  269. SO2/2
  270. T/cOdOdO
  271. _uOvO
  272. 2?DOCOfo
  273. eOS?C/B/2
  274. S?U?T?e_uov_u_vO
  275. 3?#?D_Wofo
  276. S/c?v_
  277. d?c?T?c?uO
  278. !/3?2?3?T_DOf
  279. S?T?S?2
  280. S?T?S?T?dOuOuOvO
  281. /3?3?2?4OD_Voe
  282. S/S?C/R/S/S?d?dOuOtOuOtOuOu_vOu_
  283. !/3?2?3?CODOv
  284. S?T?S?T?dOeOdOeOu_uOu_vOuOv_u_v_
  285. 3?#?"?E_D_Vof
  286. T?c?d?tOd?c?eOtOeOtOuOu_eOdOvo2/
  287. 3?2?3?C_D_v
  288. foeofo
  289. dOT?tOT?dOeOdOeOdOu_u_eOuo2
  290. "/3O3?2?DOD_f
  291. VoeoVof
  292. S?S?S/c?T?tOeOdOuOd_eOB?
  293. !/3?2?"?D_DOv
  294. Uofoe
  295. S?T?dOT?dOeOdOeOu_"/
  296. CO#?3OE_D_f
  297. T?S?dOdOeOdOu_2/
  298. !/3?2O3?S_U_f
  299. dOTOdOT?TO2
  300. 2?3?2?4OTof
  301. TOd_UOB/
  302. /#/CO3?T_EOv
  303. Voeofoe
  304. foeoUof
  305. VoTofo
  306. 3?#?#?5OD_g
  307. VoUoVoUoVoUo
  308. EOU_V_U_V_T_U_e_UOU_U_U_V_UoE_UoE_UoVoUoV_T_U_UoU_UoU_UoU_UoU_UoE_UoU_UoU_UoE_UoE_UoV_eo
  309. ScriptLine
  310. ls /etc/ /etc/netinfo/
  311. list contents of directory
  312. S{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  313. \margl40
  314. \margr40
  315. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 For each directory argument, 
  316. \b ls
  317. \b0  lists the contents of the directory; for each file argument, 
  318. \b ls
  319. \b0  repeats its name and any other information requested. By default, the output is sorted alphabetically. When no argument is given, the current directory is listed. When several arguments are given, the arguments are first sorted appropriately, but file arguments are processed before directories and their contents.
  320. [18@]
  321. CommandOption
  322. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  323. \margl40
  324. \margr40
  325. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 List in long format, giving mode, number of links, owner, size in bytes, and time of last modification for each file. If the file is a special file the size field will instead contain the major and minor device numbers. If the file is a symbolic link the pathname of the linked-to file is printed preceded by ``->''.
  326. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  327. \margl40
  328. \margr40
  329. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 Include the group ownership of the file in a long output.
  330. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  331. \margl40
  332. \margr40
  333. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 Sort by time modified (latest first) instead of by name.
  334. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  335. \margl40
  336. \margr40
  337. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 List all entries; in the absence of this option, entries whose names begin with a period (.) are not listed.
  338. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  339. \margl40
  340. \margr40
  341. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 List all entries except for the current directory (.) and the parent directory (..).
  342. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  343. \margl40
  344. \margr40
  345. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Give size in kilobytes of each file.
  346. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  347. \margl40
  348. \margr40
  349. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 If argument is a directory, list only its name; often used with -l to get the status of a directory.
  350. z{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  351. \margl40
  352. \margr40
  353. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 If argument is a symbolic link, list the file or directory the link references rather than the link itself. Note that if the link references a directory the link is always followed, unless the -l option is used.
  354. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  355. \margl40
  356. \margr40
  357. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Reverse the order of sort to get reverse alphabetic or oldest first as appropriate.
  358. "{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  359. \margl40
  360. \margr40
  361. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Use time of last access instead of last modification for sorting (with the -t option) and/or printing (with the -l option).
  362. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  363. \margl40
  364. \margr40
  365. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Use time of file creation for sorting or printing.
  366. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  367. \margl40
  368. \margr40
  369. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 For each file, print the i-number in the first column of the report.
  370. }{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  371. \margl40
  372. \margr40
  373. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Force each argument to be interpreted as a directory and list the name found in each slot. This option turns off -l, -t, -s, and -r, and turns on -a; the order is the order in which entries appear in the directory.
  374. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  375. \margl40
  376. \margr40
  377. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Cause directories to be marked with a trailing `/', sockets with a trailing `=', executable files with a trailing `*', and symbolic links to files with a trailing `@'. Symbolic links to directories are marked with a trailing `/', unless the -l option is also used.
  378. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  379. \margl40
  380. \margr40
  381. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 Recursively list subdirectories encountered.
  382. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  383. \margl40
  384. \margr40
  385. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Force one entry per line output format; this is the default when output is not to a terminal.
  386. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  387. \margl40
  388. \margr40
  389. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Force multi-column output; this is the default when output is to a terminal.
  390. "{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  391. \margl40
  392. \margr40
  393. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Force printing of non-graphic characters in file names as the character `?'; this is the default when output is to a terminal.
  394. CommandArgument
  395. ArgumentValue
  396. /etc/
  397. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  398. \margl40
  399. \margr40
  400. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 /etc/
  401. /etc/netinfo/
  402. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  403. \margl40
  404. \margr40
  405. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 /etc/netinfo/
  406. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  407. \margl40
  408. \margr40
  409. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Name is the path given to list files or directories.
  410. [194c]{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  411. \margl40
  412. \margr40
  413. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 ls /etc/ /etc/netinfo/\
  414.